const mongoose = require('mongoose')

;(async () => {
  await mongoose.connect('mongodb://localhost:27017/student')
  console.log('数据库连接成功')
})()
